var rdp = require('node-rdp');

rdp({
    address: '192.168.65.114',
    username: 'sidney',
    password: '123456'
}).then(function () {
    console.log('At this, point, the connection has terminated.');
});